Skip to content

Update B2B Kit 3.0 recipe#45

Merged
Rafikooo merged 2 commits intoSylius:mainfrom
Rafikooo:feature/b2b-kit-repository-updates
Nov 27, 2025
Merged

Update B2B Kit 3.0 recipe#45
Rafikooo merged 2 commits intoSylius:mainfrom
Rafikooo:feature/b2b-kit-repository-updates

Conversation

@Rafikooo
Copy link
Contributor

Updates repository classes in B2B Kit 3.0 recipe to implement their respective interfaces for proper type compatibility.

Changes:

  • Add OrderRepositoryInterface to OrderRepository
  • Add ProductRepositoryInterface to ProductRepository

This ensures the repositories properly implement the expected interfaces in the B2B Kit bundle.

Use correct namespace Organization\Repository instead of just Repository.
- Rename constructor parameter from `$class` to `$classMetadata`
- Add type hints to createQueryBuilder method
- Fix code formatting
@Rafikooo Rafikooo force-pushed the feature/b2b-kit-repository-updates branch from 6913f72 to da3614a Compare November 27, 2025 22:06
@Rafikooo Rafikooo changed the title Update B2B Kit repositories to implement interfaces Update B2B Kit 3.0 recipe Nov 27, 2025
@Rafikooo Rafikooo merged commit d37a124 into Sylius:main Nov 27, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant